package com.gopay.common;

import java.io.Serializable;

/**
 * 基金结果
 * @FundResult.java
 * @author dong-wang5@hnari.com
 * @2016年7月15日 上午10:58:42  www.gopay.com.cn Inc.All rights reserved.
 */
public class FundResult implements Serializable {

    private static final long serialVersionUID = -1437037370854633535L;
    /**
     * 处理是否成功
     */
    private String isSuccess;

    /**
     * 请求报文流水号
     */
    private String serialNo;
    /**
     * 处理完成时间
     */
    private String depositTime;
    /**
     * 返回错误码
     */
    private String errorCode;

    /**
     * 返回错误信息描述
     */
    private String errorMsg;

    public String getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getDepositTime() {
        return depositTime;
    }

    public void setDepositTime(String depositTime) {
        this.depositTime = depositTime;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @Override
    public String toString(){
        StringBuffer sb = new StringBuffer();
        sb.append("is_succ=");
        sb.append(getIsSuccess()==null?"":getIsSuccess());
        sb.append("&");
        sb.append("serial_no=");
        sb.append(getSerialNo()==null?"":getSerialNo());
        sb.append("&");
        sb.append("deposit_time=");
        sb.append(getDepositTime()==null?"":getDepositTime());
        sb.append("&");
        sb.append("error_code=");
        sb.append(getErrorCode()==null?"":getErrorCode());
        sb.append("&");
        sb.append("error_msg=");
        sb.append(getErrorMsg()==null?"":getErrorMsg());
        return sb.toString();
    }
}
